2020-2021 Sunseeker Telemetry and Lighting System
gpio_ex3_softwarePoll.c File Reference
#include "driverlib.h"

Go to the source code of this file.

Functions

void main (void)
 

Function Documentation

◆ main()

void main ( void  )

Software Poll P1.4, Set P1.0 if P1.4 = 1

Poll P1.4 in a loop, if hi P1.0 is set, if low, P1.0 reset. ACLK = n/a, MCLK = SMCLK = default DCO

        MSP430FR5969
      -----------------
  /|\|              XIN|-
   | |                 |
   --|RST          XOUT|-

/|\ | | –o–|P1.4 P1.0|-->LED |/

This example uses the following peripherals and I/O signals. You must review these and change as needed for your own board:

  • GPIO Port peripheral

This example uses the following interrupt handlers. To use this example in your own application you must add these interrupt handlers to your vector table.

  • None

Definition at line 59 of file gpio_ex3_softwarePoll.c.

References GPIO_setOutputHighOnPin(), and GPIO_setOutputLowOnPin().